package com.zzs.elm.service;

import java.util.List;

import com.zzs.elm.dao.BusinessDao;
import com.zzs.elm.po.Business;


public class BusinessService {
	
	private static BusinessDao businessDao = new BusinessDao();
	
	public List<Business> listBusinessByOrderTypeId(Integer orderTypeId) throws Exception {
		return businessDao.listBusinessByOrderTypeId(orderTypeId);
	}
	
	public Business getBusinessById(Integer businessId) throws Exception {
		return businessDao.getBusinessById(businessId);
	}

}
